function z = meyer(x)
%Meyer function
%n=3,m=16,x0=[0.02,4000,250]
%fmin1=87.9458
%Author:Ji Lin
y=[34780,28610,23650,19630,16370,13720,11540,9744,8261,7030,6005,5147,4427,3820,3307,2872];
t=45+5*(1:16);
z=ones(1,16);
for ii=1:16
    z(ii)=x(1)*exp(x(2)/(t(ii)+x(3)))-y(ii);
end
z=sum(z.^2);